﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="ContactUs.aspx.vb" Inherits="DusanProject.ContactUs" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="defaultHeader">Contact Us</div>
<br />
<br />
<div class="contactBody">You can contact us by this form</div>
<br />
<br />
<div>
    <asp:TextBox ID="txtContactUs" runat="server" Rows="10" TextMode="MultiLine" Width="500"></asp:TextBox>
</div>
<br />
<br />
<div>
    <asp:Button ID="btnContactUs" runat="server" Text="Send Message" />
</div>
    <br />
    <br />

    <asp:Table CssClass="center" runat="server">
    <asp:TableRow>
    
    <asp:TableCell>
   

    <asp:GridView ID="gwComment" runat="server" AllowPaging="True" 
        AutoGenerateColumns="False" CellPadding="4" DataSourceID="SqlDataSource1" 
        ForeColor="#333333" GridLines="None" Width="600">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:BoundField DataField="UserName" HeaderText="Posted By:" 
                SortExpression="UserName" />
            <asp:BoundField DataField="CommentText" HeaderText="Comment" 
                SortExpression="CommentText" />
            <asp:BoundField DataField="CommentTime" HeaderText="Posted Time" 
                SortExpression="CommentTime" />
        </Columns>
        <EditRowStyle BackColor="#2461BF" />
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#EFF3FB" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#F5F7FB" />
        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
        <SortedDescendingCellStyle BackColor="#E9EBEF" />
        <SortedDescendingHeaderStyle BackColor="#4870BE" />
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:dbDusanCS %>" 
        ProviderName="<%$ ConnectionStrings:dbDusanCS.ProviderName %>" 
        SelectCommand="SELECT [UserName], [CommentText], [CommentTime] FROM [SiteComment] ORDER BY [CommentTime] DESC">
    </asp:SqlDataSource>


    
    </asp:TableCell>
    
    </asp:TableRow>
    
    </asp:Table>

<br />




</asp:Content>
